"{{baseName}}": {{paramName}}{{^required}}?{{/required}}.encodeToJSON()